<div class="row-fluid">
    <div class="span2">
        <div>
            <p class="nav-header">Actions</p>
            <ul class="nav nav-tabs nav-stacked">                
                <li><a href="<?php echo $this->Html->url('index/'); ?>">List Users</a></li>
            </ul>
        </div>
    </div>
    <div class="span10">
        <form action="<?php echo $this->Html->url('add/'); ?>" class="well" id="UserEditForm" method="post" accept-charset="utf-8">
            <div style="display:none;">
                <input type="hidden" name="_method" value="PUT">
            </div>        
            <fieldset>
                <legend>Add User</legend>
                <div class="control-group required">
                    <label for="UserEmail">Email</label>
                    <input name="email" help="" maxlength="45" type="email" value="" id="UserEmail" required="required">
                </div>
                <div class="control-group required">
                    <label for="UserPassword">Password</label>
                    <input name="password" help="" type="password" value="" id="UserPassword" required="required">
                </div>
                <div class="control-group required">
                    <label for="UserFirstname">Firstname</label>
                    <input name="firstname" help="" maxlength="45" type="text" value="" id="UserFirstname" required="required">
                </div>
                <div class="control-group">
                    <label for="UserMiddlename">Middlename</label>
                    <input name="middlename" help="" maxlength="45" type="text" value="" id="UserMiddlename">
                </div>
                <div class="control-group required">
                    <label for="UserLastname">Lastname</label>
                    <input name="lastname" help="" maxlength="45" type="text" value="" id="UserLastname" required="required">
                </div>
                <div class="control-group required">
                    <label for="UserDob">Dob</label>
                    <input name="dob" help="" class="datepicker" type="text" value="" id="UserDob" required="required">
                </div>
                <div class="control-group required">
                    <label for="UserCountry">Country</label>
                    <select name="country" help="" id="UserCountry" required="required">
                        <?php
                        foreach ($list_country as $code => $name) {
                            echo "<option value=\"{$code}\">{$name}</option>";
                        }
                        ?>
                    </select>                    
                </div>
                <div class="control-group">
                    <label for="UserStatus">Status</label>
                    <select name="status" help="" id="UserStatus">
                        <option value="1">Yes</option>
                        <option value="0">No</option>
                    </select>
                </div>
            </fieldset>        
            <div class="submit">
                <input class="btn btn-primary" type="submit" value="Save">
            </div>
        </form>    
    </div>
</div>